package com.icode.chat;

import com.icode.chat.message.ChatMessage;

import javax.websocket.EncodeException;
import javax.websocket.Encoder;
import javax.websocket.EndpointConfig;

/**
 * Created with IntelliJ IDEA.
 * User: ZhongGang
 * Date: 14-8-4
 * Time: 下午8:03
 */
public class ChatMessageEncoder implements Encoder.Text<ChatMessage> {

    @Override
    public String encode(ChatMessage object) throws EncodeException {
        throw new UnsupportedOperationException("Not yet implemented!");
    }

    @Override
    public void init(EndpointConfig endpointConfig) {
        throw new UnsupportedOperationException("Not yet implemented!");
    }

    @Override
    public void destroy() {
        throw new UnsupportedOperationException("Not yet implemented!");
    }
}
